<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			var provs=[{"id":"01","pname":"河南省"},{"id":"02","pname":"河北省"},{"id":"03","pname":"河北省"}];
			var citys=[{"id":"001","cname":"郑州市","pid":"01"},{"id":"002","cname":"商丘市","pid":"01"},{"id":"003","cname":"安阳市","pid":"01"},{"id":"004","cname":"安阳市","pid":"02"},{"id":"005","cname":"安阳市","pid":"02"},{"id":"006","cname":"安阳市","pid":"02"},{"id":"007","cname":"安阳市","pid":"03"},{"id":"008","cname":"安阳市","pid":"03"}];
			function $(id){
				return document.getElementById(id);
			}
			window.onload=function(){
				var prosel=$('province');
				for(var i=0,i<provs.length;i++){
					var coption=document.createElement('option');
					coption.innerHTML=provs[i].pname;
					coption.setAttribute('value',provs)
				}
			}
		</script>
	</head>
	<body>
	</body>
</html>
